package com.example.service.impl;

import com.example.dao.GradeMapper;
import com.example.dao.StudentMapper;
import com.example.domain.Grade;
import com.example.domain.Student;
import com.example.service.GradeService;
import com.example.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by xiaoyuan on 2017/12/1.
 */
@Service
public class StudentServiceImpl implements StudentService {
    @Autowired
    private StudentMapper studentMapper;
    @Override
    public List<Student> queryStudentList(){
        return  studentMapper.queryStudentList();
    }
}
